import getNetWork from '../../libs/getNetWork.js';

export default {

    data() {
        return {
            data1:{
            },
            bb:true,
            cc:10,
            dd:'',
        };
    },

    mounted:function() {
        // this.aa();
    },
    methods:{
        showDD(){

        },
        aa(){
            document.title = "index";
            var that = this;

            getNetWork.get(this,{
                url:that.getNetDataAddress+"/goods/goodsListAjax",
                successCallback:function(res){
                    that.data1=res.body.m;
                },
                errorCallback:function(res){
                }
            })
            getNetWork.post(this,{
                url:that.getNetDataAddress+"/goods/goodsListAjax",
                data:{
                    aa:'aa',
                },
                successCallback:function(res){
                    that.data1=res.body.m;
                    that.bb=false;
                },
                errorCallback:function(res){
                }
            })
        }
    }
};
